import request from '@/utils/request'

export default {
  // 查看密码
  password(data) {
    return request({
      url: `/v1/shop/password`,
      method: 'post',
      data,
      returnData: true
    })
  },
  // 验证当前登录用户密码
  verifyPassword(data) {
    return request({
      baseURL: window.APP_GETEWAY.auth,
      url: `/auth/verify-password`,
      method: 'post',
      data,
      returnData: true
    })
  },
  // 查看两步验证图片
  verifyImage(params) {
    return request({
      url: `/v1/shop/amazon/verify-image`,
      method: 'get',
      params,
      returnData: true
    })
  },
}
